<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!-- 分页显示：开始 -->

<script type="text/javascript" src="${pageContext.request.contextPath}/js/layer.js"></script>
<div class="pagin">
	<div class="message">共<i class="blue">${pageModel.totalCount}</i>条记录，当前显示第&nbsp;<i class="blue">${pageModel.currentPage}&nbsp;</i>页，共&nbsp;<i class="blue">${pageModel.totalPage}</i>&nbsp;页</div>
	<ul class="paginList">	
		
		<li class="paginItem">
			<a href="${pageContext.request.contextPath}${pageModel.url}?currentPage=${pageModel.currentPage-1}">
				<span class="pagepre"></span>
			</a>
		</li>
		<c:forEach begin="${pageModel.startPage}" end="${pageModel.endPage}" var="pageNum">
			<li class="paginItem">
				<a href="${pageContext.request.contextPath}${pageModel.url}?currentPage=${pageNum}">${pageNum}</a>
			</li>
		</c:forEach>
		<li class="paginItem">
			<a href="${pageContext.request.contextPath}${pageModel.url}?currentPage=${pageModel.currentPage+1}">
				<span class="pagenxt"></span>
			</a>
		</li>
	</ul>
</div>
<!-- 分页显示：结束 -->